package com.samphanie.auiu.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.samphanie.auiu.mbg.model.SysMenuResource;
import com.samphanie.auiu.mbg.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 角色菜单关联Service接口
 *
 * @author zsy
 * @date 2021-05-18
 */
public interface ISysMenuResourceService extends IService<SysMenuResource> {

    /**
     * 分页业务方法
     *
     * @return IPage
     */
    PageUtils listPage(Map<String, Object> query);

    List<SysMenuResource> listByMenuId(Long menuId);

    void deleteByMenuId(Long menuId);

}
